import schoolCacheData from '../cacheData/schoolList.json'
const school = {
    state:{
        //测试数据
        cacheData:schoolCacheData,
        //数据表格配置
        // tableOption:[
        //     {key:"studentId",label:"编号",width:"",fixed:"left",type:"text",search:true,searchValue:""},
        //     {key:"nickName",label:"姓名",width:"",fixed:"left",type:"select",search:true,selectOptionData:"",searchValue:""},
        //     {key:"phonenumber",label:"手机号码",width:"",fixed:false,type:"text",search:false,searchValue:""},
        //     {key:"address",label:"地址",width:"500",fixed:false,type:"text",search:false,searchValue:""},
        //     {key:"idCardNo",label:"身份证号",width:"200",fixed:false,type:"text",search:false,searchValue:""}
        // ],
        // pageNum:1,
        // pageSize:10,
        //用户编辑列保存的数据
        //tableOptionSave:[],
        //操作栏的权限
        // businessImport:"business:student:import",
        // businessExport:"business:student:export",
        // businessAdd:"business:student:addStudent",
        // businessListAttendance:"business:attendance:listAttendance",
        // businessEdit:"business:student:edit",
        // businessRemove:"business:student:remove",
    },
    mutations: {
        //添加删除编辑列保存的数据
        setCacheData:(state, val) =>{
            state.cacheData=val
        }
    }
}
export default school


